package com.sihan.framework.etm.entity.business;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Table(name="jdx_etm_tool_exception")
public class ToolException implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "ID")
	@GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id;
	//工器具id
	private String toolId;
	//入库时间
	private Date intWarehouseTime;
	//出库时间
	private Date outWarehouseTime;
	//操作人
	private String operatorUserId;
	//状态（0：新增，1：已处理，-1：已取消，-2：已报废）
	private Integer status;
}
